#include <iostream>
using namespace std;

class student
{
public:
    int id;
    string name;
    int age;
};

int main()
{
    student s1;
    s1.id = 1001;
    s1.name = "张三";
    s1.age = 18;

    
    cout << "s1的信息:" << endl;
    cout << "id = " << s1.id << endl;
    cout << "name = " << s1.name << endl;
    cout << "age = " << s1.age << endl;


    return 0;
}